Accusoft.ImagXpress12.ActiveX
Modify Image Bit Depth
See Also Send Feedback
ImagXpress 12 for ActiveX - User Guide > How To > Process an Image > Modify Image Bit Depth

Glossary Item Box

The following can be used to reduce the bit depth of an image: 

Change Color Depth

The ColorDepth method changes the bits per pixel of the current image.

You can use the UniqueColors method to return the number of unique colors in the current image or region. This can be useful for determining if there is an opportunity to reduce the bit depth of the pixels without degrading the image. 
If an image bit depth is modified from an image that is greater than 16 bits to an image that is 8 bits or less in depth, then a palette is associated with the image, as specified by the PaletteType parameter when calling the ColorDepth method.

Reduce GrayScale Bit Depth 

It may be advantageous to reduce the bit depth of a gray image, as most humans can only discern 256 shades of gray. To level an 8 through 16-bit image to an 8-bit gray image,

Binarize

The Binarize method operates on 8-bit and 24-bit input images, permanently modifying the image to a 1-bit or 8-bit grayscale image of the same dimensions.

The Autobinarize method operates on 1-bit and 24-bit input images, automatically selecting the optimal binarize parameters to convert to a 1-bit monochrome image.

This is often done to clean up an image or create an image effect.  

 

See Also

©2013. Accusoft Corporation. All Rights Reserved.